; Upgrade properties to use on outfits

;prop_armor 				;; armor
;prop_damage 				;; Damage
;prop_durability 			;; wear resistance (strength)

;prop_power 				;; East. stamina
;prop_tonnage 				;; Carry weight
;prop_weightoutfit 			;; body armor weight

;prop_chem 					;; chemical protection
;prop_radio 				;; radio protection
;prop_thermo 				;; thermo protection
;prop_electro 				;; Electro protection
;prop_psy 					;; psi protection

;prop_restore_bleeding 		;; reduce bleeding
;prop_restore_health 		;; Health Restoration
;prop_artefact 				;; slot for artifacts
;prop_sprint 				;; Run in the exoskeleton


;--========================================================================
;-- IMMUNITIES
;--========================================================================

[sect_zero_immunities_add]
burn_immunity								    = -0.0
strike_immunity								    = -0.0
shock_immunity								    = -0.0
wound_immunity								    = -0.0
wound_2_immunity							    = -0.0
radiation_immunity 							    = -0.0
telepatic_immunity							    = -0.0
chemical_burn_immunity						    = -0.0
explosion_immunity							    = -0.0
fire_wound_immunity							    = -0.0

;-----------------------------------------------------------------
; burn_immunity
;-----------------------------------------------------------------
[sect_immunities_sub_burn_2]:sect_zero_immunities_add
burn_immunity								    = -0.2

[sect_immunities_sub_burn_15]:sect_zero_immunities_add
burn_immunity								    = -0.15

[sect_immunities_sub_burn_1]:sect_zero_immunities_add
burn_immunity								    = -0.1

[sect_immunities_sub_burn_05]:sect_zero_immunities_add
burn_immunity								    = -0.05

[sect_immunities_sub_burn_025]:sect_zero_immunities_add
burn_immunity								    = -0.025

[sect_immunities_sub_burn_01]:sect_zero_immunities_add
burn_immunity								    = -0.01

[sect_immunities_sub_burn_005]:sect_zero_immunities_add
burn_immunity								    = -0.005

[sect_immunities_sub_burn_002]:sect_zero_immunities_add
burn_immunity								    = -0.002

[sect_immunities_sub_burn_001]:sect_zero_immunities_add
burn_immunity								    = -0.001


[sect_immunities_add_burn_2]:sect_zero_immunities_add
burn_immunity								    = 0.2

[sect_immunities_add_burn_15]:sect_zero_immunities_add
burn_immunity								    = 0.15

[sect_immunities_add_burn_1]:sect_zero_immunities_add
burn_immunity								    = 0.1

[sect_immunities_add_burn_05]:sect_zero_immunities_add
burn_immunity								    = 0.05

[sect_immunities_add_burn_025]:sect_zero_immunities_add
burn_immunity								    = 0.025

[sect_immunities_add_burn_01]:sect_zero_immunities_add
burn_immunity								    = 0.01

[sect_immunities_add_burn_005]:sect_zero_immunities_add
burn_immunity								    = 0.005

;-----------------------------------------------------------------
; chemical_burn_immunity
;-----------------------------------------------------------------
[sect_immunities_sub_chem_2]:sect_zero_immunities_add
chemical_burn_immunity						    = -0.2

[sect_immunities_sub_chem_15]:sect_zero_immunities_add
chemical_burn_immunity						    = -0.15

[sect_immunities_sub_chem_1]:sect_zero_immunities_add
chemical_burn_immunity						    = -0.1

[sect_immunities_sub_chem_05]:sect_zero_immunities_add
chemical_burn_immunity						    = -0.05

[sect_immunities_sub_chem_025]:sect_zero_immunities_add
chemical_burn_immunity						    = -0.025

[sect_immunities_sub_chem_01]:sect_zero_immunities_add
chemical_burn_immunity						    = -0.01

[sect_immunities_sub_chem_005]:sect_zero_immunities_add
chemical_burn_immunity						    = -0.005

[sect_immunities_sub_chem_002]:sect_zero_immunities_add
chemical_burn_immunity						    = -0.002

[sect_immunities_sub_chem_001]:sect_zero_immunities_add
chemical_burn_immunity						    = -0.001


[sect_immunities_add_chem_2]:sect_zero_immunities_add
chemical_burn_immunity						    = 0.2

[sect_immunities_add_chem_15]:sect_zero_immunities_add
chemical_burn_immunity						    = 0.15

[sect_immunities_add_chem_1]:sect_zero_immunities_add
chemical_burn_immunity						    = 0.1

[sect_immunities_add_chem_05]:sect_zero_immunities_add
chemical_burn_immunity						    = 0.05

[sect_immunities_add_chem_025]:sect_zero_immunities_add
chemical_burn_immunity						    = 0.025

[sect_immunities_add_chem_01]:sect_zero_immunities_add
chemical_burn_immunity						    = 0.01

[sect_immunities_add_chem_005]:sect_zero_immunities_add
chemical_burn_immunity						    = 0.005

;-----------------------------------------------------------------
; shock_immunity
;-----------------------------------------------------------------
[sect_immunities_sub_shock_2]:sect_zero_immunities_add
shock_immunity								    = -0.2

[sect_immunities_sub_shock_15]:sect_zero_immunities_add
shock_immunity								    = -0.15

[sect_immunities_sub_shock_1]:sect_zero_immunities_add
shock_immunity								    = -0.1

[sect_immunities_sub_shock_05]:sect_zero_immunities_add
shock_immunity								    = -0.05

[sect_immunities_sub_shock_025]:sect_zero_immunities_add
shock_immunity								    = -0.025

[sect_immunities_sub_shock_01]:sect_zero_immunities_add
shock_immunity								    = -0.01

[sect_immunities_sub_shock_005]:sect_zero_immunities_add
shock_immunity								    = -0.005

[sect_immunities_sub_shock_002]:sect_zero_immunities_add
shock_immunity								    = -0.002

[sect_immunities_sub_shock_001]:sect_zero_immunities_add
shock_immunity								    = -0.001


[sect_immunities_add_shock_2]:sect_zero_immunities_add
shock_immunity								    = 0.2

[sect_immunities_add_shock_15]:sect_zero_immunities_add
shock_immunity								    = 0.15

[sect_immunities_add_shock_1]:sect_zero_immunities_add
shock_immunity								    = 0.1

[sect_immunities_add_shock_05]:sect_zero_immunities_add
shock_immunity								    = 0.05

[sect_immunities_add_shock_025]:sect_zero_immunities_add
shock_immunity								    = 0.025

[sect_immunities_add_shock_01]:sect_zero_immunities_add
shock_immunity								    = 0.01

[sect_immunities_add_shock_005]:sect_zero_immunities_add
shock_immunity								    = 0.005

;-----------------------------------------------------------------
; telepatic_immunity
;-----------------------------------------------------------------
; outfits get damaged in psi-fields?

[sect_immunities_sub_tele_2]:sect_zero_immunities_add
telepatic_immunity								    = -0.2

[sect_immunities_sub_tele_15]:sect_zero_immunities_add
telepatic_immunity								    = -0.15

[sect_immunities_sub_tele_1]:sect_zero_immunities_add
telepatic_immunity								    = -0.1

[sect_immunities_sub_tele_05]:sect_zero_immunities_add
telepatic_immunity								    = -0.05

[sect_immunities_sub_tele_025]:sect_zero_immunities_add
telepatic_immunity								    = -0.025

[sect_immunities_sub_tele_01]:sect_zero_immunities_add
telepatic_immunity								    = -0.01

[sect_immunities_sub_tele_005]:sect_zero_immunities_add
telepatic_immunity								    = -0.005

[sect_immunities_sub_tele_002]:sect_zero_immunities_add
telepatic_immunity								    = -0.002

[sect_immunities_sub_tele_001]:sect_zero_immunities_add
telepatic_immunity								    = -0.001


[sect_immunities_add_tele_2]:sect_zero_immunities_add
telepatic_immunity								    = 0.2

[sect_immunities_add_tele_15]:sect_zero_immunities_add
telepatic_immunity								    = 0.15

[sect_immunities_add_tele_1]:sect_zero_immunities_add
telepatic_immunity								    = 0.1

[sect_immunities_add_tele_05]:sect_zero_immunities_add
telepatic_immunity								    = 0.05

[sect_immunities_add_tele_025]:sect_zero_immunities_add
telepatic_immunity								    = 0.025

[sect_immunities_add_tele_01]:sect_zero_immunities_add
telepatic_immunity								    = 0.01

[sect_immunities_add_tele_005]:sect_zero_immunities_add
telepatic_immunity								    = 0.005

;-----------------------------------------------------------------
; radiation_immunity
;-----------------------------------------------------------------
; outfits get damaged by radiation?


;-----------------------------------------------------------------
; physical
;-----------------------------------------------------------------
[sect_immunities_sub_physical_very_small]
wound_immunity								    = -0.00025
explosion_immunity							    = -0.00025
fire_wound_immunity							    = -0.00025

[sect_immunities_sub_physical_small]
wound_immunity								    = -0.0005
explosion_immunity							    = -0.0005
fire_wound_immunity							    = -0.0005

[sect_immunities_sub_physical_medium]
wound_immunity								    = -0.001
explosion_immunity							    = -0.001
fire_wound_immunity							    = -0.001

[sect_immunities_sub_physical_large]
wound_immunity								    = -0.00125
explosion_immunity							    = -0.00125
fire_wound_immunity							    = -0.00125

[sect_immunities_sub_physical_huge]
wound_immunity								    = -0.0015
explosion_immunity							    = -0.0015
fire_wound_immunity							    = -0.0015




;--========================================================================
;-- UPGRADES SECTIONS
;--========================================================================

;-----------------------------------------------------------------
; Shock
;-----------------------------------------------------------------
[up_sect_prop_shock_5]
cost 		                                    = 2500
value 		                                    = +5
inv_weight										= +0.1
shock_protection                                = 0.5
;immunities_sect_add 							= sect_immunities_sub_shock_005

[up_sect_prop_shock_10]
cost 		                                    = 5600
value 		                                    = +10
inv_weight										= +0.2
shock_protection                                = 1
;immunities_sect_add 							= sect_immunities_sub_shock_005

[up_sect_prop_shock_15]
cost 		                                    = 7600
value 		                                    = +15
inv_weight										= +0.3
shock_protection                                = 1.5
;immunities_sect_add 							= sect_immunities_sub_shock_005

[up_sect_prop_shock_20]
cost 		                                    = 10600
value 		                                    = +20
inv_weight										= +0.4
shock_protection                                = 2
;immunities_sect_add 							= sect_immunities_sub_shock_005

;-----------------------------------------------------------------
; Burn
;-----------------------------------------------------------------
[up_sect_prop_burn_5]
cost 		                                    = 3300
value 		                                    = +5
inv_weight										= +0.2
burn_protection                                 = 0.0025
immunities_sect_add 							= sect_immunities_sub_burn_005

[up_sect_prop_burn_10]
cost 		                                    = 7300
value 		                                    = +10
inv_weight										= +0.2
burn_protection                                 = 0.005
immunities_sect_add 							= sect_immunities_sub_burn_005

[up_sect_prop_burn_15]
cost 		                                    = 9300
value 		                                    = +15
inv_weight										= +0.2
burn_protection                                 = 0.0075
immunities_sect_add 							= sect_immunities_sub_burn_005

[up_sect_prop_burn_20]
cost 		                                    = 11300
value 		                                    = +20
inv_weight										= +0.2
burn_protection                                 = 0.01
immunities_sect_add 							= sect_immunities_sub_burn_005

;-----------------------------------------------------------------
; Chemical
;-----------------------------------------------------------------
[up_sect_prop_chem_5]
cost 		                                    = 2700
value 		                                    = +5
inv_weight										= +0.2
chemical_burn_protection                        = 0.4
immunities_sect_add 							= sect_immunities_sub_chem_001

[up_sect_prop_chem_10]
cost 		                                    = 5200
value 		                                    = +10
inv_weight										= +0.2
chemical_burn_protection                        = 0.8
immunities_sect_add 							= sect_immunities_sub_chem_002

[up_sect_prop_chem_15]
cost 		                                    = 7200
value 		                                    = +15
inv_weight										= +0.2
chemical_burn_protection                        = 1.2
immunities_sect_add 							= sect_immunities_sub_chem_005

[up_sect_prop_chem_20]
cost 		                                    = 9200
value 		                                    = +20
inv_weight										= +0.2
chemical_burn_protection                        = 1.6
immunities_sect_add 							= sect_immunities_sub_chem_005

;-----------------------------------------------------------------
; Telepatic
;-----------------------------------------------------------------
[up_sect_prop_telepatic_5]
cost 		                                    = 1600
value 		                                    = +5
inv_weight										= +0.05
telepatic_protection                            = 0.005
;immunities_sect_add 							= sect_immunities_sub_tele_005

[up_sect_prop_telepatic_10]
cost 		                                    = 3000
value 		                                    = +10
inv_weight										= +0.1
telepatic_protection                            = 0.01
;immunities_sect_add 							= sect_immunities_sub_tele_005

[up_sect_prop_telepatic_15]
cost 		                                    = 5000
value 		                                    = +15
inv_weight										= +0.15
telepatic_protection                            = 0.015
;immunities_sect_add 							= sect_immunities_sub_tele_005

[up_sect_prop_telepatic_20]
cost 		                                    = 7500
value 		                                    = +20
inv_weight										= +0.2
telepatic_protection                            = 0.02
;immunities_sect_add 							= sect_immunities_sub_tele_005

;-----------------------------------------------------------------
; Radiation
;-----------------------------------------------------------------
[up_sect_prop_radiation_5]
cost 		                                    = 1700
value 		                                    = +5
inv_weight										= +0.05
radiation_protection                            = 0.005

[up_sect_prop_radiation_10]
cost 		                                    = 2550
value 		                                    = +10
inv_weight										= +0.15
radiation_protection                            = 0.01

[up_sect_prop_radiation_15]
cost 		                                    = 4000
value 		                                    = +15
inv_weight										= +0.25
radiation_protection                            = 0.015

[up_sect_prop_radiation_20]
cost 		                                    = 5500
value 		                                    = +20
inv_weight										= +0.35
radiation_protection                            = 0.02

;-----------------------------------------------------------------
; Armour
;-----------------------------------------------------------------
[up_sect_prop_armor_5]
cost 		                                    = 1650
value 		                                    = +5
inv_weight										= +0.5
hit_fraction_actor				                = -0.05
explosion_protection 			                = 0.05
fire_wound_protection  			                = 0.05
bones_koeff_protection_add						= actor_armor_light_add_1

[up_sect_prop_armor_10]
cost 		                                    = 2800
value 		                                    = +10
inv_weight										= +0.7
hit_fraction_actor				                = -0.1
explosion_protection 			                = 0.1
fire_wound_protection  			                = 0.1
bones_koeff_protection_add						= actor_armor_light_add_2

[up_sect_prop_armor_15]
cost 		                                    = 5000
value 		                                    = +15
inv_weight										= +1
hit_fraction_actor				                = -0.15
explosion_protection 			                = 0.15
fire_wound_protection  			                = 0.15
bones_koeff_protection_add						= actor_armor_medium_add_1

[up_sect_prop_armor_20]
cost 		                                    = 6000
value 		                                    = +20
inv_weight										= +1.2
hit_fraction_actor				                = -0.2
explosion_protection 			                = 0.2
fire_wound_protection  			                = 0.2
bones_koeff_protection_add						= actor_armor_medium_add_2


[up_sect_prop_armor_helm_10]
cost 		                                    = 1650
value 		                                    = +10
inv_weight										= +0.5
explosion_protection 			                = 0.1
fire_wound_protection  			                = 0.1
bones_koeff_protection_add						= actor_armor_light_add_4

[up_sect_prop_armor_helm_30]
cost 		                                    = 5000
value 		                                    = +30
inv_weight										= +1
explosion_protection 			                = 0.15
fire_wound_protection  			                = 0.15
bones_koeff_protection_add						= actor_armor_light_add_5

;-----------------------------------------------------------------
; Damage
;-----------------------------------------------------------------
[up_sect_prop_wound_5]
cost 		                                    = 1450
value 		                                    = +5
inv_weight										= +0.2
wound_protection                                = 0.05

[up_sect_prop_wound_10]
cost 		                                    = 2350
value 		                                    = +10
inv_weight										= +0.4
wound_protection                                = 0.1

[up_sect_prop_wound_15]
cost 		                                    = 3250
value 		                                    = +15
inv_weight										= +0.6
wound_protection                                = 0.15

[up_sect_prop_wound_20]
cost 		                                    = 7500
value 		                                    = +20
inv_weight										= +0.8
wound_protection                                = 0.2

;-----------------------------------------------------------------
; Durability
;-----------------------------------------------------------------
[up_sect_prop_durability_1]
cost 		                                    = 1300
value 		                                    = +5
immunities_sect_add 							= sect_immunities_sub_physical_small

[up_sect_prop_durability_2]
cost 		                                    = 2500
value 		                                    = +10
immunities_sect_add 							= sect_immunities_sub_physical_medium

[up_sect_prop_durability_3]
cost 		                                    = 5500
value 		                                    = +15
immunities_sect_add 							= sect_immunities_sub_physical_large

[up_sect_prop_durability_4]
cost 		                                    = 7000
value 		                                    = +20
immunities_sect_add 							= sect_immunities_sub_physical_huge

;-----------------------------------------------------------------
; Carryweight
;-----------------------------------------------------------------
[up_sect_prop_carryweight_3]
cost 		                                    = 1350
value 		                                    = +3
inv_weight										= +0.0
additional_inventory_weight 					= 3
additional_inventory_weight2 					= 3

[up_sect_prop_carryweight_5]
cost 		                                    = 1350
value 		                                    = +5
inv_weight										= +0.0
additional_inventory_weight 					= 5
additional_inventory_weight2 					= 5

[up_sect_prop_carryweight_7]
cost 		                                    = 4000
value 		                                    = +7
inv_weight										= +0.0
additional_inventory_weight 					= 7
additional_inventory_weight2 					= 7

[up_sect_prop_carryweight_10]
cost 		                                    = 4000
value 		                                    = +10
inv_weight										= +0.0
additional_inventory_weight 					= 10
additional_inventory_weight2 					= 10

[up_sect_prop_carryweight_12]
cost 		                                    = 6500
value 		                                    = +12
inv_weight										= +0.0
additional_inventory_weight 					= 12
additional_inventory_weight2 					= 12

[up_sect_prop_carryweight_15]
cost 		                                    = 6500
value 		                                    = +15
inv_weight										= +0.0
additional_inventory_weight 					= 15
additional_inventory_weight2 					= 15


;-----------------------------------------------------------------
; Weight
;-----------------------------------------------------------------
[up_sect_prop_weight_2]
cost 		                                    = 1400
value 		                                    = -2
inv_weight										= -2

[up_sect_prop_weight_3]
cost 		                                    = 1500
value 		                                    = -3
inv_weight										= -3

[up_sect_prop_weight_5]
cost 		                                    = 2500
value 		                                    = -5
inv_weight										= -5

[up_sect_prop_weight_7]
cost 		                                    = 3500
value 		                                    = -7
inv_weight										= -7

[up_sect_prop_weight_10]
cost 		                                    = 5000
value 		                                    = -10
inv_weight										= -10

[up_sect_prop_weight_12]
cost 		                                    = 6000
value 		                                    = -12
inv_weight										= -12

;-----------------------------------------------------------------
; Artefact container
;-----------------------------------------------------------------
[up_sect_prop_arty_1]
cost 		                                    = 2500
value 		                                    = +1
inv_weight										= +0.5
artefact_count									= 1

[up_sect_prop_arty_2]
cost 		                                    = 5000
value 		                                    = +2
inv_weight										= +1.0
artefact_count									= 2

;-----------------------------------------------------------------
; Stamina
;-----------------------------------------------------------------
[up_sect_prop_stamina_1]
cost 		                                    = 2000
value 		                                    = +3
inv_weight										= +0.2
power_restore_speed								= 0.00075

[up_sect_prop_stamina_2]
cost 		                                    = 4000
value 		                                    = +6
inv_weight										= +0.2
power_restore_speed								= 0.0015

[up_sect_prop_stamina_3]
cost 		                                    = 6000
value 		                                    = +10
inv_weight										= +0.2
power_restore_speed								= 0.00225

;-----------------------------------------------------------------
; Wound healing
;-----------------------------------------------------------------
[up_sect_prop_bleed_1]
cost 		                                    = 6000
value 		                                    = +2
inv_weight										= +0.4
bleeding_restore_speed							= 0.0002

[up_sect_prop_bleed_2]
cost 		                                    = 7500
value 		                                    = +3
inv_weight										= +0.6
bleeding_restore_speed							= 0.0003

[up_sect_prop_bleed_3]
cost 		                                    = 10000
value 		                                    = +4
inv_weight										= +0.9
bleeding_restore_speed							= 0.0004


;-----------------------------------------------------------------
; Health
;-----------------------------------------------------------------
[up_sect_prop_health_1]
cost 		                                    = 8500
value 		                                    = +1
inv_weight										= +0.3
health_restore_speed							= 0.0005

[up_sect_prop_health_2]
cost 		                                    = 12500
value 		                                    = +2
inv_weight										= +0.5
health_restore_speed							= 0.001

;-----------------------------------------------------------------
; Run
;-----------------------------------------------------------------
[up_sect_prop_run_1]
cost 		                                    = 10500
inv_weight										= +1.5
sprint_allowed      							= true


;--========================================================================
;-- UPGRADES INFO
;--========================================================================
[up_info_type_a]
known                   = 1
precondition_functor    = inventory_upgrades.precondition_functor_a
precondition_parameter  = a & b

effect_functor          = inventory_upgrades.effect_functor_a
effect_parameter        = something_here

prereq_functor          = inventory_upgrades.prereq_functor_a
prereq_tooltip_functor  = inventory_upgrades.prereq_tooltip_functor_a
prereq_params           =
